/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.module.partner.response;

import java.util.ArrayList;
import java.util.List;

import com.yanlight.app.response.PageResponse;

/**
 * 
 * @author haolw
 * @time 2018/07/11
 */
public class MerchantSubsResponse extends PageResponse {
	private List<SubAccount> list;

	public List<SubAccount> getList() {
		return list;
	}

	public void setList(List<SubAccount> list) {
		this.list = list;
	}

	public void addSubAccount(SubAccount subAccount) {
		if (list == null) {
			list = new ArrayList<SubAccount>(8);
		}
		list.add(subAccount);
	}

	public class SubAccount {
		private Integer id;
		private String email;
		private String phone;
		private Integer status;
		private String paycodeAlias;
		private String paycodeValue;

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getEmail() {
			return email;
		}

		public void setEmail(String email) {
			this.email = email;
		}

		public String getPhone() {
			return phone;
		}

		public void setPhone(String phone) {
			this.phone = phone;
		}

		public Integer getStatus() {
			return status;
		}

		public void setStatus(Integer status) {
			this.status = status;
		}

		public String getPaycodeAlias() {
			return paycodeAlias;
		}

		public void setPaycodeAlias(String paycodeAlias) {
			this.paycodeAlias = paycodeAlias;
		}

		public String getPaycodeValue() {
			return paycodeValue;
		}

		public void setPaycodeValue(String paycodeValue) {
			this.paycodeValue = paycodeValue;
		}

	}

}
